package com.easy.dn.ui.main.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.easy.dn.bean.JobAddressBean;

import java.util.List;

import dn.easy.com.easyto.R;


/**
 * 工作地点 选中 adapter
 * <p>
 * Created by 丁宁
 * on 2017/5/16.
 */

public class AddressTopSelectAdapter extends BaseQuickAdapter<JobAddressBean, BaseViewHolder>  {

    public AddressTopSelectAdapter(@LayoutRes int layoutResId, @Nullable List<JobAddressBean> childData) {
        super(layoutResId, childData);
    }

    @Override
    protected void convert(BaseViewHolder helper, JobAddressBean item) {
        helper.setText(R.id.tv_top_select, item.getName());
    }

}

